/**
 * 
 */
package STUDENTS.DANGTIENLONG.OOPS;

/**
 * @author Tien Long
 *
 */
public class TaoRaDoiTuong02 {
	public static void main(String[] args) {
		People MrA;
		People MrsB;
		People MrC;
		People MrD;
		
		MrA = new People();
		MrsB = new People();
		MrC = new People();
		MrD = new People();
		
		MrA.setID((byte)1);
		MrA.setFullName("Nguyen Van Minh ");
		MrA.setNumLeg((byte)2);
		MrA.setNumHand((byte)2);
		MrA.setHairColor("Den");
		MrA.setLanguage("VNI");
		MrA.setSex("Nam");
		
		MrsB.setID((byte)2);
		MrsB.setFullName("Pham Hong Nhung ");
		MrsB.setNumLeg((byte)2);
		MrsB.setNumHand((byte)2);
		MrsB.setHairColor("Nau");
		MrsB.setLanguage("VNI");
		MrsB.setSex("Nu");
		
		MrC.setID((byte)3);
		MrC.setFullName("Hoang Minh Hieu");
		MrC.setNumLeg((byte)2);
		MrC.setNumHand((byte)2);
		MrC.setHairColor("Vang");
		MrC.setLanguage("VNI");
		MrC.setSex("Nam");
		
		MrD.setID((byte)4);
		MrD.setFullName("J.Brave");
		MrD.setNumLeg((byte)2);
		MrD.setNumHand((byte)2);
		MrD.setHairColor("Do");
		MrD.setLanguage("ENG");
		MrD.setSex("Nam");
		
		System.out.println("---------1---------");
		System.out.println(" + Ho va Ten: " + MrA.getFullName());
		System.out.println(" + So chan: " + MrA.getNumLeg() + " - So tay: " + MrA.getNumHand()  + " - Mau toc: " + MrA.getHairColor());
		System.out.println(" + Ngon ngu: " + MrA.getLanguage());
		System.out.println(" + Gioi tinh: " + MrA.getSex());
		
		System.out.println("---------2---------");
		System.out.println(" + Ho va Ten: " + MrsB.getFullName());
		System.out.println(" + So chan: " + MrsB.getNumLeg() + " - So tay: " + MrsB.getNumHand()  + " - Mau toc: " + MrsB.getHairColor());
		System.out.println(" + Ngon ngu: " + MrsB.getLanguage());
		System.out.println(" + Gioi tinh: " + MrsB.getSex());
		
		System.out.println("---------3---------");
		System.out.println(" + Ho va Ten: " + MrC.getFullName());
		System.out.println(" + So chan: " + MrC.getNumLeg() + " - So tay: " + MrC.getNumHand()  + " - Mau toc: " + MrC.getHairColor());
		System.out.println(" + Ngon ngu: " + MrC.getLanguage());
		System.out.println(" + Gioi tinh: " + MrC.getSex());
		
		System.out.println("---------4---------");
		System.out.println(" + Ho va Ten: " + MrD.getFullName());
		System.out.println(" + So chan: " + MrD.getNumLeg() + " - So tay: " + MrD.getNumHand()  + " - Mau toc: " + MrD.getHairColor());
		System.out.println(" + Ngon ngu: " + MrD.getLanguage());
		System.out.println(" + Gioi tinh: " + MrD.getSex());
		
		MrA.setFullName("Nguyen Van Manh");
		MrsB.setFullName("Pham Thi Hong Nhung");
		
		MrA.setHairColor("Do");
		MrA.setLanguage("VNI, ENG");
		
		MrsB.setHairColor("Tim");
		MrsB.setLanguage("VNI, ENG");
		
		MrC.setHairColor("Xanh");
		MrC.setLanguage("VNI, ENG, KOREA");
		
		MrD.setHairColor("Vang");
		MrD.setLanguage("ENG, VNI");
		
		System.out.println("\n Update: ");
		System.out.println("---------1---------");
		System.out.println(" + Ho va Ten: " + MrA.getFullName());
		System.out.println(" + So chan: " + MrA.getNumLeg() + " - So tay: " + MrA.getNumHand()  + " - Mau toc: " + MrA.getHairColor());
		System.out.println(" + Ngon ngu: " + MrA.getLanguage());
		System.out.println(" + Gioi tinh: " + MrA.getSex());
		
		System.out.println("---------2---------");
		System.out.println(" + Ho va Ten: " + MrsB.getFullName());
		System.out.println(" + So chan: " + MrsB.getNumLeg() + " - So tay: " + MrsB.getNumHand()  + " - Mau toc: " + MrsB.getHairColor());
		System.out.println(" + Ngon ngu: " + MrsB.getLanguage());
		System.out.println(" + Gioi tinh: " + MrsB.getSex());
		
		System.out.println("---------3---------");
		System.out.println(" + Ho va Ten: " + MrC.getFullName());
		System.out.println(" + So chan: " + MrC.getNumLeg() + " - So tay: " + MrC.getNumHand()  + " - Mau toc: " + MrC.getHairColor());
		System.out.println(" + Ngon ngu: " + MrC.getLanguage());
		System.out.println(" + Gioi tinh: " + MrC.getSex());
		
		System.out.println("---------4---------");
		System.out.println(" + Ho va Ten: " + MrD.getFullName());
		System.out.println(" + So chan: " + MrD.getNumLeg() + " - So tay: " + MrD.getNumHand()  + " - Mau toc: " + MrD.getHairColor());
		System.out.println(" + Ngon ngu: " + MrD.getLanguage());
		System.out.println(" + Gioi tinh: " + MrD.getSex());
		
	}
}
